<?php /*a:3:{s:70:"D:\phpstudy_pro\WWW\git\DSShop\app\admin\view\inviter\memberclass.html";i:1566788178;s:64:"D:\phpstudy_pro\WWW\git\DSShop\app\admin\view\public\header.html";i:1571626691;s:69:"D:\phpstudy_pro\WWW\git\DSShop\app\admin\view\public\admin_items.html";i:1566788179;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>DSShop单店铺商城系统后台</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
        <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
        <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
        <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/dialog/dialog.js" id="dialog_js" charset="utf-8"></script>

        <script type="text/javascript">
            var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
            var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
            var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
            var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
            var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
        </script>
    </head>
    <body>
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>







<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3><?php echo htmlentities(lang('ds_inviter_set')); ?></h3>
                <h5></h5>
            </div>
            <?php if($admin_item): ?>
<ul class="tab-base ds-row">
    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
    <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</ul>
<?php endif; ?>
        </div>
    </div>
        <div class="ds-search-form">
            <div class="btn_group">
                <a href="javascript:dsLayerOpen('<?php echo url('Inviter/memberclass_add'); ?>','<?php echo htmlentities(lang('ds_add')); ?>')" class="btn" ><span><?php echo htmlentities(lang('ds_add')); ?></span></a>
            </div>
        </div>

    
        <table class="ds-default-table">
            <thead>
                <tr class="thead">
                    <th></th>
                    <th class="w60"><?php echo htmlentities(lang('inviter_class')); ?></th>
                    <th class="w200"><?php echo htmlentities(lang('inviterclass_amount')); ?></th>
                    <th class="w200 align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
                </tr>
            </thead>
            <?php if(!(empty($memberclass_list) || (($memberclass_list instanceof \think\Collection || $memberclass_list instanceof \think\Paginator ) && $memberclass_list->isEmpty()))): ?>
            <tbody>
            <?php if(is_array($memberclass_list) || $memberclass_list instanceof \think\Collection || $memberclass_list instanceof \think\Paginator): if( count($memberclass_list)==0 ) : echo "" ;else: foreach($memberclass_list as $key=>$v): ?>
            <tr class="hover edit">
                <td class="w48"><input type="checkbox" name="id[]" value="<?php echo htmlentities($v['inviterclass_id']); ?>" class="checkitem"></td>
                <td class="w48 sort"><?php echo htmlentities($v['inviterclass_name']); ?></td>
                <td class="w50pre name"><?php echo htmlentities($v['inviterclass_amount']); ?></td>
                
                <td class="w132 align-center">
                    <a href="javascript:dsLayerOpen('<?php echo url('Inviter/memberclass_edit',['id'=>$v['inviterclass_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['inviterclass_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
                    <a href="javascript:dsLayerConfirm('<?php echo url('Inviter/memberclass_del',['id'=>$v['inviterclass_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('ds_del')); ?></a>
                </td>
            </tr>
           <?php endforeach; endif; else: echo "" ;endif; ?>
            </tbody>
            <tfoot>
            <tr class="tfoot">
                <td><input type="checkbox" class="checkall" id="checkall_1"></td>
                <td id="batchAction" colspan="15"><span class="all_checkbox">
                        <label for="checkall_2"><?php echo htmlentities(lang('ds_select_all')); ?></label>
                    </span>&nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span><?php echo htmlentities(lang('ds_del')); ?></span></a>
                </td>
            </tr>
            </tfoot>
            <?php else: ?>
            <tbody>
            <tr class="no_data">
                <td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
            </tr>
            </tbody>
            <?php endif; ?>
        </table>
</div>
<script type="text/javascript">
    function submit_delete(ids_str){
        _uri = ADMINSITEURL+"/Inviter/memberclass_del.html?id=" + ids_str;
        dsLayerConfirm(_uri,'<?php echo htmlentities(lang('ds_ensure_del')); ?>');
    }
</script>